﻿@model IEnumerable<Chbl.ViewModels.QualifyingGamesViewModel>
@foreach (var item in Model)
{ 
<h3 class="color1">@item.RoundName</h3>
<table>
    <tr>
    @foreach (string column in item.TableColumnNames)
    {     
        <th>        
            @column
        </th>
    }
    </tr>
    @foreach (var game in item.QualifyingGames)
    {
    <tr>
        <td>
            @game.HomeTeam
        </td>
        <td>
            @game.GameTime
        </td>
        <td>
            @game.AwayTeam
        </td>
    </tr>
    }
</table>
}